package com.koron.sinoprobe.web.ledger.service;

import com.koron.sinoprobe.web.ledger.bean.query.SpProjectDeviceQuery;
import com.koron.sinoprobe.web.ledger.bean.query.SpStatisticsQuery;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;
import java.util.Map;

/**
 * @author jzp
 * @since 2022/5/24
 */
public interface SpStatisticsService {
    // 专项总数：专项台账数量
    Map<String, Object> listSpTotal(SessionFactory factory, SpStatisticsQuery query);

    List<SpProjectDeviceQuery> countByDeviceIds(SessionFactory factory, List<SpProjectDeviceQuery> query);
}
